package com.practice.agObjectAndClass007.extend.pag;

public class PublicClass {
    public static void main(String[] args) {

    }
    public void publicMethod(String name){

    }

    void defaultMethod(int age){

    }

    protected void protectedMethod(double height) {

    }

    private void privateMethod(double weight) {

    }

    public PublicClass(String name) {
        this.name = name;
    }

    private String name;
    int age;
    protected double height;
    public double weight;
}
